{template "header.html"}

<!--首页导航-->
{template "index-daohang.html"}


<!--首页列表-->

<div class="d-kuangjia">
	<div class="row">
		<div class="col-md-2 d-yincang d-piaofu-95" style="z-index: 1000;">
			 <span style="width: 10px; color: #ffffff;">.</span>
			<div class="d-piaofu-0-2">
				
				{template "index-zuobian-quanzi.html"}
			    
			</div>
			
		</div>
	    <div class="col-md-7">
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 " 
			{if $qingchunkaiqi}
			style="background: linear-gradient(to right, {$qingchunremense}, {$qingchuntoremense})"
			{else}
			style="background: linear-gradient(to right, #11d2b5, #745b91)"
			{/if}

			>
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					<div class="col-md-12 col-xs-12 d-div-zou d-huading-100"> 
					    <a href="javascript:goBack();">
					        <img class="d-yuanjiao-20 pull-left" src="{HOME_THEME_PATH}quan/img/fanhui.svg" height="20"/>
						</a>
						<a href="{CLIENT_URL}index.php?ye=0">
						    <img class="pull-right" src="{HOME_THEME_PATH}quan/img/shouye3.png" height="20"/> 
						</a>
					</div>
				</div>
			</div>
			<div class=" d-kuan d-beijing-baise d-bianhua-20 d-yuanjiao-bianhua-10-10-xia" 
			
			{if $qingchunkaiqi}
			style="background: linear-gradient(to right, {$qingchunremense}, {$qingchuntoremense})"
			{else}
			style="background: linear-gradient(to right, #11d2b5, #745b91)"
			{/if}
			>
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					
					<div class="d-kuan d-buhuanhang d-a-bai">
						<div class="d-kuan ">
							<div class="col-md-12 col-xs-12 d-waigao-20 d-xia-20 d-div-zou  d-buhuanhang">
								<div class=" d-yuanjiao-10">
									<img class="d-yuanjiao-20" src="{HOME_THEME_PATH}quan/img/remen2.png" height="60"/>
								</div>
								<div class="d-zuo-10">
									<div class="d-jiacu d-wenzi-16 d-zitiyanse-bai-100">热门圈贴</div>
									<div class="d-wenzi-14 d-zitiyanse-bai d-wenzi-touming-60 d-buhuanhang">
										<span >
											热门帖子 ：
										    20
										</span> 
										
									</div>
								</div>
							</div>
						</div>
						<div class="d-kuan-100  d-xia-20 d-you-10 d-quxian-0">
							
							
						</div>
					</div>
					<div class="d-kuan d-buhuanhang d-a-bai d-zitiyanse-bai-100">
						<div class="col-md-12 col-xs-12 d-wenzi-touming-90">
							
						</div>
					</div>
					<div class="d-kuan d-buhuanhang d-a-bai d-zitiyanse-bai-100 d-shang-10">
						
						<div class="col-md-12 col-xs-12 ">
							<div class="d-beijing-baise-10 d-hanggao-30 d-yuanjiao-10 d-wenzi-juzhong">热门圈贴</div>
					    </div>
						
					</div>
				</div>

			</div>
			
			<div class="d-clear"></div>
			<!--圈子导航-->
			

			
			
			<!--圈子帖子-->
			<div id="content_list">
			    {template "remen-list-data.html"}
			</div>
			<div class="d-kuan d-gao-80"></div>
		</div>
		
	</div>
</div>

<style>

</style>

<script>
	// 模块点赞
	$(".tag_zan_list").click(function(){
	    var id = $(this).data("id");
	    $.get("{dr_url_prefix('index.php')}?s=quan&c=son&m=zanlian&id="+id, function(data){
	        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
	        if (data.msg.value=="点赞成功") {
				$('#module_zan_list_'+id).html(data.data);
	        	 $('#tag_zan_list_'+id).html('<img src="{HOME_THEME_PATH}quan/img/zan3.svg" width="24" height="24" class="d-yuanjiao-50 d-div-zuo"/>'
	        	);
	        }else{
				$('#module_zan_list_'+id).html(data.data);
	        	$('#tag_zan_list_'+id).html('<img src="{HOME_THEME_PATH}quan/img/zan.svg" width="24" height="24" class="d-yuanjiao-50 d-div-zuo"/>');
	
	        }
	    }, 'json');
	});
	
	//关注
	$(".guanzhu_list").click(function(){
	    var id = $(this).data("id");
	    $.get("{dr_url_prefix('index.php')}?s=huiyuan&c=show&m=friend&uid="+id, function(data){
	        dr_cmf_tips(data.code, data.msg);
	        if (data.data.status==1) {
				window.location.reload();
				$('#module_guanzhu_list_'+id).html(data.data);
	        	$('#guanzhu_list_'+id).html('<div class=" d-beijing-hui d-yuanjiao-20 d-neikuang-5-10 d-div-you d-wenzi-12"><i class="fa fa-check-circle-o"></i> 已关注</div>');
				
	        }else{
				window.location.reload();
				$('#module_guanzhu_list_'+id).html(data.data);
	        	$('#guanzhu_list_'+id).html('<div class=" d-beijing-hui d-yuanjiao-20 d-neikuang-5-10 d-div-you d-wenzi-12">关 注</div>');
	            
	        }
	    }, 'json');
	});
</script>

{template "fanhui.html"}
<!--尾部导航-->
{template "index-weibudaohang.html"}
{template "footer.html"}